3.5.23 \(\int \frac {A+B x}{(a+b x)^{5/2}} \, dx\)

Optimal. Leaf size=40 \[ -\frac {2 (A b-a B)}{3 b^2 (a+b x)^{3/2}}-\frac {2 B}{b^2 \sqrt {a+b x}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {43} \begin {gather*} -\frac {2 (A b-a B)}{3 b^2 (a+b x)^{3/2}}-\frac {2 B}{b^2 \sqrt {a+b x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(A + B*x)/(a + b*x)^(5/2),x]

[Out]

(-2*(A*b - a*B))/(3*b^2*(a + b*x)^(3/2)) - (2*B)/(b^2*Sqrt[a + b*x])

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int \frac {A+B x}{(a+b x)^{5/2}} \, dx &=\int \left (\frac {A b-a B}{b (a+b x)^{5/2}}+\frac {B}{b (a+b x)^{3/2}}\right ) \, dx\\ &=-\frac {2 (A b-a B)}{3 b^2 (a+b x)^{3/2}}-\frac {2 B}{b^2 \sqrt {a+b x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 29, normalized size = 0.72 \begin {gather*} -\frac {2 (2 a B+A b+3 b B x)}{3 b^2 (a+b x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(A + B*x)/(a + b*x)^(5/2),x]

[Out]

(-2*(A*b + 2*a*B + 3*b*B*x))/(3*b^2*(a + b*x)^(3/2))

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.03, size = 32, normalized size = 0.80 \begin {gather*} -\frac {2 (3 B (a+b x)-a B+A b)}{3 b^2 (a+b x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(A + B*x)/(a + b*x)^(5/2),x]

[Out]

(-2*(A*b - a*B + 3*B*(a + b*x)))/(3*b^2*(a + b*x)^(3/2))

________________________________________________________________________________________

fricas [A]  time = 0.78, size = 46, normalized size = 1.15 \begin {gather*} -\frac {2 \, {\left (3 \, B b x + 2 \, B a + A b\right )} \sqrt {b x + a}}{3 \, {\left (b^{4} x^{2} + 2 \, a b^{3} x + a^{2} b^{2}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)^(5/2),x, algorithm="fricas")

[Out]

-2/3*(3*B*b*x + 2*B*a + A*b)*sqrt(b*x + a)/(b^4*x^2 + 2*a*b^3*x + a^2*b^2)

________________________________________________________________________________________

giac [A]  time = 1.21, size = 28, normalized size = 0.70 \begin {gather*} -\frac {2 \, {\left (3 \, {\left (b x + a\right )} B - B a + A b\right )}}{3 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)^(5/2),x, algorithm="giac")

[Out]

-2/3*(3*(b*x + a)*B - B*a + A*b)/((b*x + a)^(3/2)*b^2)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 26, normalized size = 0.65 \begin {gather*} -\frac {2 \left (3 B b x +A b +2 B a \right )}{3 \left (b x +a \right )^{\frac {3}{2}} b^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)/(b*x+a)^(5/2),x)

[Out]

-2/3/(b*x+a)^(3/2)*(3*B*b*x+A*b+2*B*a)/b^2

________________________________________________________________________________________

maxima [A]  time = 0.89, size = 28, normalized size = 0.70 \begin {gather*} -\frac {2 \, {\left (3 \, {\left (b x + a\right )} B - B a + A b\right )}}{3 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)^(5/2),x, algorithm="maxima")

[Out]

-2/3*(3*(b*x + a)*B - B*a + A*b)/((b*x + a)^(3/2)*b^2)

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 29, normalized size = 0.72 \begin {gather*} -\frac {2\,A\,b-2\,B\,a+6\,B\,\left (a+b\,x\right )}{3\,b^2\,{\left (a+b\,x\right )}^{3/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((A + B*x)/(a + b*x)^(5/2),x)

[Out]

-(2*A*b - 2*B*a + 6*B*(a + b*x))/(3*b^2*(a + b*x)^(3/2))

________________________________________________________________________________________

sympy [A]  time = 1.16, size = 124, normalized size = 3.10 \begin {gather*} \begin {cases} - \frac {2 A b}{3 a b^{2} \sqrt {a + b x} + 3 b^{3} x \sqrt {a + b x}} - \frac {4 B a}{3 a b^{2} \sqrt {a + b x} + 3 b^{3} x \sqrt {a + b x}} - \frac {6 B b x}{3 a b^{2} \sqrt {a + b x} + 3 b^{3} x \sqrt {a + b x}} & \text {for}\: b \neq 0 \\\frac {A x + \frac {B x^{2}}{2}}{a^{\frac {5}{2}}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)**(5/2),x)

[Out]

Piecewise((-2*A*b/(3*a*b**2*sqrt(a + b*x) + 3*b**3*x*sqrt(a + b*x)) - 4*B*a/(3*a*b**2*sqrt(a + b*x) + 3*b**3*x
*sqrt(a + b*x)) - 6*B*b*x/(3*a*b**2*sqrt(a + b*x) + 3*b**3*x*sqrt(a + b*x)), Ne(b, 0)), ((A*x + B*x**2/2)/a**(
5/2), True))

________________________________________________________________________________________